<?php

// use function \Hyperf\Support\env;

declare(strict_types=1);
use function Hyperf\Support\env;

return [
    'open_ai_api_key' => env('OPEN_AI_API_KEY', ''),
    'model'    => env('AI_MODEL', 'gpt-3.5-turbo'),
    'proxy_url'=> env('AI_PROXY_URL'),
    'messages' => [
        'role_system_content' => env('ROLE_SYSTEM_CONTENT', '你是优秀的程序员'),
    ],
    'temperature'       => env('TEMPERATURE', 1),
    'max_tokens'        => env('MAX_TOKENS', 4000),
    'frequency_penalty' => env('FREQUENCY_PENALTY', 0),
    'presence_penalty'  => env('PRESENCE_PENALTY', 0),
];